#!/usr/bin/ env python3

list_pizza=['firstpizza','secondpizza','thirdpizza','fourpizza','dddd']

print("the first three item of list_pizza")
print(list_pizza[0:3])

print("the middle three items of list_pizza")
print(list_pizza[1:4])

print("the last three items of list_pizza")
print(list_pizza[-3:])
